package com.example.leave.enums;

/**
 * @author huang
 */

public enum OperationEnum {
    ADD("增加", 1), DELETE("删除", 2), UPDATE("修改", 3);
    private String operation;
    private int code;

    OperationEnum(String operation, int code) {
        this.operation = operation;
        this.code = code;
    }


    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
